package com.westos.userauth.dao;

import com.westos.userauth.domain.Party;
import com.westos.userauth.domain.PartyRole;

public interface PartyRoleDao {



    int deletePartyRoleByPartyId(String partyId);


    // 创建party的角色
    int insertPartyRole(PartyRole partyRole);

    // 删除party的角色
    int deletePartyRole(String roleTypeId);
    // 查询party角色通过roletypeid
    PartyRole queryPartyRoleById(String roleTypeId);

    PartyRole queryPartyRoleByPartyId(String partyId);

}
